﻿<!--[if IE 6]>
<script src="__PUBLIC__/js/DD_belatedPNG_0.0.8a-min.js" language="javascript" type="text/javascript"></script>
<script>
  DD_belatedPNG.fix('#top_logo');   /* string argument can be any CSS selector */
</script>
<![endif]-->
<script type="text/javascript">
$(function(){
	var $chkurl = '<{:U('Common/loginChk')}>';
	$.get($chkurl,function(data){
		//alert(data);
		if (data.status == 1) {
			$('#top_login_ok').show();
			$('#top_login_no').hide();
			//$('#top_login_ok').find('span');
			$('#top_login_ok>span').html('欢迎您，'+data.nickname);
		}else {			
			$('#top_login_ok').hide();
			$('#top_login_no').show();
		}
	},'json');	
});
</script>
<div class="header" >
	<div class="column">
        <div class="top-bar">
		<div class="nav_left">
		欢迎您访问<{$Think.config.setting.Software}>演示网站！
		</div>
		<div class="nav_right"> 

		<div id="top_login_no">
		<img src="__PUBLIC__/images/register.png"  class="top_images" />
		<a href="__APP__/user/register">会员注册</a>
		<img src="__PUBLIC__/images/loginin.png" class="top_images" />	
		<a href="__APP__/user/login">会员登录</a>	
		</div>
		<div id="top_login_ok" style="display:none;">
		<span>欢迎您， </span>
		<img src="__PUBLIC__/images/login.png" class="top_images" />
		<a href="__APP__/user/index">会员中心</a>
		<img src="__PUBLIC__/images/loginout.png" class="top_images" />
		<a href="__APP__/user/do_out">安全退出</a>
		</div>	

		</div>   
        </div>
	</div>
	<div class="column" style="clear:both">
    	<div class="logo"><a href="__APP__"><img alt="TuziCMS-企业网站内容管理系统" height="62" src="__PUBLIC__/images/logo.png" /></a></div>			
        <div class="nav">
            <ul id="menu">
				<navlist order='column_sort'>
                <li id="dr_nav_<{$id}>">
				<a href="<{$url}>" class="nav-a"><{$column_name}></a>
				</li>
				</navlist>
            </ul>
        </div>
    </div>
</div>


